<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CraeteFooterMenuTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('footer_menu', function (Blueprint $table) {
            $table->increments('id')->comment('标识');
            $table->integer("pid")->default(0)->commit("父级id");
            $table->string('name',50)->nullable()->comment('名称');
            $table->string('link')->nullable()->comment("跳转链接");
            $table->rememberToken();
            $table->timestamps();
            $table->softDeletes();
        });

        Schema::create('en_footer_menu', function (Blueprint $table) {
            $table->increments('id')->comment('标识');
            $table->integer("pid")->default(0)->commit("父级id");
            $table->string('name',50)->nullable()->comment('名称');
            $table->string('link')->nullable()->comment("跳转链接");
            $table->rememberToken();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
